home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 3 / Amiga Tools 3.iso / grafik / raytracing / rayshade-4.0.6.3 / libray / libobj / cone.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-09  |  1.2 KB  |  50 lines

  1. /*
  2.  * cone.h
  3.  *
  4.  * Copyright (C) 1989, 1991, Craig E. Kolb
  5.  * All rights reserved.
  6.  *
  7.  * This software may be freely copied, modified, and redistributed
  8.  * provided that this copyright notice is preserved on all copies.
  9.  *
  10.  * You may not distribute this software, in whole or in part, as part of
  11.  * any commercial product without the express consent of the authors.
  12.  *
  13.  * There is no warranty or other guarantee of fitness of this software
  14.  * for any purpose.  It is provided solely "as is".
  15.  *
  16.  * cone.h,v 4.1 1994/08/09 07:58:17 explorer Exp
  17.  *
  18.  * cone.h,v
  19.  * Revision 4.1  1994/08/09  07:58:17  explorer
  20.  * Bump version to 4.1
  21.  *
  22.  * Revision 1.1.1.1  1994/08/08  04:52:08  explorer
  23.  * Initial import.  This is a prerelease of 4.0.6enh3, or 4.1 possibly.
  24.  *
  25.  * Revision 4.0  91/07/17  14:36:49  kolb
  26.  * Initial version.
  27.  * 
  28.  */
  29. #ifndef CONE_H
  30. #define CONE_H
  31.  
  32. #define GeomConeCreate(c,a,r1,r2) GeomCreate((GeomRef)ConeCreate(c,a,r1,r2), \
  33.                     ConeMethods())
  34.  
  35. /*
  36.  * Cone
  37.  */
  38. typedef struct cone {
  39.     Float start_dist;
  40.     Trans trans;
  41. } Cone;
  42.  
  43. extern Cone    *ConeCreate();
  44. extern int    ConeIntersect(), ConeEnter(), ConeNormal();
  45. extern void    ConeBounds(), ConeUV(), ConeStats();
  46. extern char    *ConeName();
  47. extern Methods    *ConeMethods();
  48.  
  49. #endif /* CONE_H */
  50.